package org.snail.jobHierarchy.mapper;


import org.snail.jobHierarchy.bean.JobDO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface JobsMapper {

    /**
     * 删除岗位层级单价所有数据
     */
    void deleteAllJobs();

    /**
     * 岗位保存
     * @param jobs
     */
    void saveJobs(List<JobDO> jobs);

    /**
     * 岗位层级单价查询
     * @return
     */
    List<JobDO> findAllJobPrice();

}
